<?php

class Default_Model_Listening extends Zend_Db_Table{
	
	protected $_name    = "listening";
	protected $_primary  = "li_id"; 
	protected $_listSQL;
	
	public function listItems($params = null, $fields = null){
		$db 	= $this->getAdapter();
		if($fields == null) 
			$select = $db->select()->from($this->_name);
		else
			$select = $db->select()->from($this->_name, $fields);
		
		$result = $db->fetchAll($select);
		return $result;
	}
}